(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/iffparse.h>
LONG ExitHandler()
SYNOPSIS
struct IFFHandle * iff
LONG type
LONG id
LONG position
struct Hook * handler
APTR object
LOCATION
In IFFParseBase at offset 18
FUNCTION
Installs an exit handler for a specific chunk type that wil be called whenever a chunk of that type is popped off the contextstack via ParseIFF().
INPUTS
iff
pointer to an iffhandle struct.
type
type code for the chunk to handle. (ex: "ILBM").
id
ID code for the chunk to handle. (ex: "CMAP")
position
position of localcontextitem. See StoreLocalItem for more info.
handler
an initialised Hook structure for the handler function.
object
pointer to some kind of object that will be passed to your handler function.
RESULT
error - 0 If successfull, IFFERR_#? elsewise.
NOTES
EXAMPLE
BUGS
SEE ALSO
EntryHandler()
, StoreLocalItem(), StoreItemInContext()
INTERNALS
HISTORY
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen